<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans.xsd
        http://code.alibabatech.com/schema/dubbo
        http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
       <!-- 消费方应用名，用于计算依赖关系，不是匹配条件，不要与提供方一样-->
       <#--<dubbo:application name="dubbo-consumer" />-->

       <!-- 使用multicast广播注册中心暴露发现服务地址 -->
       <!--
       <dubbo:registry protocol="zookeeper" address="127.0.0.1:2181" />
       <dubbo:registry protocol="dubbo" address="127.0.0.1:26645" />
       -->

       <!--
       <dubbo:protocol name="dubbo" port="20884" />
       <dubbo:monitor protocol="registry"></dubbo:monitor>
       -->

       <!-- 生成远程服务代理，可以和本地bean一样使用demoService-->
       <#list strXmlList as item>
       <dubbo:reference
               url="${r"${"}dubbo.url}/com.tmptSource.service.intf.I${item.classNameFirstWordUpper}Service"
               interface="com.tmptSource.service.intf.I${item.classNameFirstWordUpper}Service" id="${item.classNameFirstWordLower}Service" retries="0" timeout="40000"/>
        </#list>


</beans>
